﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sheep_Breeding.ErrorCode
{
    /// <summary>
    /// 响应页面操作
    /// </summary>
    public class ApiPaging<T> : ApiResult<T>
    {
        /// <summary>
        /// 总记录数
        /// </summary>
        public int TotalCount { get; set; }

        /// <summary>
        /// 总页数
        /// </summary>
        public int TotalPage { get; set; }

        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        
        /// <summary>
        /// 每页数量
        /// </summary>
        public int PageSize { get; set; }
        
        /// <summary>
        /// 响应数据 
        /// </summary>
        public T PageData { get; set; }
    }
}
